package com.celesea.workflow.component;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author JackYuan
 * @create 2017-11-21 23:03
 */
@ConfigurationProperties(prefix = "celesea.auth")
@Component
public class AuthProperties {
    private String host;
    private String usersByDeptAndPosition;
    private String usersById;
    private String usersByRole;
    private String usersByAccount;

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getUsersByDeptAndPosition() {
        return usersByDeptAndPosition;
    }

    public void setUsersByDeptAndPosition(String usersByDeptAndPosition) {
        this.usersByDeptAndPosition = usersByDeptAndPosition;
    }

    public String getUsersById() {
        return usersById;
    }

    public void setUsersById(String usersById) {
        this.usersById = usersById;
    }

    public String getUsersByAccount() {
        return usersByAccount;
    }

    public void setUsersByAccount(String usersByAccount) {
        this.usersByAccount = usersByAccount;
    }

    public String getUsersByRole() {
        return usersByRole;
    }

    public void setUsersByRole(String usersByRole) {
        this.usersByRole = usersByRole;
    }
}
